/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.elicitor.listner;

/**
 *
 * @author Wenod
 */
public enum Emotions {

    ANGER,
    DISGUST,
    FEAR,
    HAPPY,
    SAD,
    SURPRISE;

    public static Emotions getEmotion(int s) {

        switch (s) {
            case 1:
                return ANGER;
            case 2:
                return DISGUST;
            case 3:
                return FEAR;
            case 4:
                return HAPPY;
            case 5:
                return SAD;
            case 6:
                return SURPRISE;
            default:
                break;
        }

        return null;

    }
}
